package com.zkq.lvse.common.utils;

import java.util.List;
/**
 * 
 * @author zkq
 *	分页参数及查询结果
 * @param <T>
 */
public class Page<T> {
	//当前页数
	private long pageNo=1;
	//每页条数
	private long pageSize;
	//总页数
	private long totalPages;
	//总条数
	private long totalCount;
	//数据
	private List<T> list;
	
	public Page(int pageSize){
		this.pageSize=pageSize;
	}
	
	public long getPageNo() {
		return pageNo;
	}
	public void setPageNo(long pageNo) {
		this.pageNo = pageNo;
	}
	public long getPageSize() {
		return pageSize;
	}
	public void setPageSize(long pageSize) {
		this.pageSize = pageSize;
	}
	public long getTotalPages() {
		return totalPages;
	}
	public void setTotalPages(long totalPages) {
		this.totalPages = totalPages;
	}
	public long getTotalCount() {
		return totalCount;
	}
	public void setTotalCount(long totalCount) {
		this.totalCount = totalCount;
	}
	public List<T> getList() {
		return list;
	}
	public void setList(List<T> list) {
		this.list = list;
	}
	
}
